#/bin/bash

hadoop fs -mkdir -p /user/hive/warehouse
hadoop fs -chmod g+w /user/hive/warehouse

cd /apache-hive-1.2.1-bin
exec bin/hive --service metastore

